package cn.itsource.basic.query;

import lombok.Data;

@Data
public class Basequery {
    //当前页
    private Integer currentPage;
    //每页条数
    private Integer pageSize;
    public Integer getBegin(){
        return (this.currentPage-1)*this.pageSize;
    }


}
